liburcu: correct licenses
authorLinus Kardell <[email protected]>
Wed, 10 Sep 2025 09:59:17 +0000 (11:59 +0200)
committerWesley Gimenes <[email protected]>
Thu, 25 Sep 2025 12:45:07 +0000 (09:45 -0300)
I've listed what files contain each SPDX-License-Identifier, and tried
to classify their purpose as below:

- BSD-2-Clause: `tests/**` (tests)
- CC0-1.0: `extras/abi/**/*.xml` (documentation)
- CC-BY-4.0: `ChangeLog`, `**/*.md` (documentation)
- FSFAP: `m4/*.m4` (build system)
- GPL-2.0-only: `tests/**`, `extras/abi/dump_abi.sh` (tests,
  documentation)
- GPL-2.0-or-later: `scripts/urcu-api-list.sh`, `tests/**` (tests,
  documentation)
- GPL-2.0-or-later WITH Autoconf-exception-2.0: `m4/ae_pprint.m4` (build
  system)
- GPL-2.0-or-later WITH LicenseRef-Autoconf-exception-macro: `m4/*.m4`
  (build system)
- GPL-3.0-or-later: `tests/utils/tap.sh` (tests)
- LGPL-2.1-only: `configure.ac`, `include/**/*.h` (build system,
  headers)
- LGPL-2.1-or-later: `doc/**`, `include/**/*.h`, `src/**/*.{c,h}`,
  `tests/**`, (documentation, headers, source, tests)
- LicenseRef-Boehm-GC: `include/**/*.h`, `tests/common/thread-id.h`
  (headers, documentation)
- MIT: `.gitignore`, `.gitreview`, `Makefile.am`, `bootstrap`, `doc/**`,
  `extras/Makefile.am`, `include/Makefile.am`, `include/**/*.h`,
  `src/**/*.{am,h,pc.in}`, `tests/**` (documentation, build system,
  headers, source control)

Then in PKG_LICENSE I've included licenses which are used for headers,
source, or build system. I've also corrected PKG_LICENSE_FILES: license
texts are in the LICENSES directory, lgpl-relicensing ends with .md, and
I've added the overarching LICENSE.md.

Signed-off-by: Linus Kardell <[email protected]>
libs/liburcu/Makefile

index 662064fe0ba92c291926a974eb0ab4a8cfd242f9..8aa5b245ec1fbd56f787dbd54e71f88b08109dfc 100644 (file)
@@ -10,11 +10,14 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=liburcu
 PKG_VERSION:=0.15.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_MAINTAINER:=Daniel Salzman <[email protected]>
-PKG_LICENSE:=LGPL-2.1-or-later GPL-2.0-or-later MIT
-PKG_LICENSE_FILES:=lgpl-2.1.txt gpl-2.0.txt lgpl-relicensing.txt
+PKG_LICENSE:=LGPL-2.1-only LGPL-2.1-or-later GPL-2.0-or-later-with-Autoconf-exception-2.0 \
+             GPL-2.0-or-later-with-LicenseRef-Autoconf-exception-macro MIT FSFAP LicenseRef-Boehm-GC
+PKG_LICENSE_FILES:=LICENSES/LGPL-2.1-only.txt LICENSES/LGPL-2.1-or-later.txt LICENSES/GPL-2.0-or-later.txt \
+                   LICENSES/Autoconf-exception-2.0.txt LICENSES/LicenseRef-Autoconf-exception-macro.txt \
+                   LICENSES/MIT.txt LICENSES/FSFAP.txt LICENSES/LicenseRef-Boehm-GC.txt lgpl-relicensing.md LICENSE.md
 
 PKG_SOURCE:=userspace-rcu-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://lttng.org/files/urcu/